<!DOCTYPE html>
<html lang="en">
  <head>
      <meta charset="UTF-8">
      <title>在div标签的style属性上设置css样式</title>
  </head>

  <body>
  <div style="width: 300px;height: 100px;background-color: red">hello, 北京</div>
  <br/>
  <div style="width: 300px;height: 100px;background-color: red">hello, 上海</div>
  <br/>
  <div style="width: 300px;height: 100px;background-color: red">hello, 天津</div>
  <br/>
  </body>
</html>